package team.scau.laboratory_repair.modules.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import team.scau.laboratory_repair.common.base.BaseRepository;
import team.scau.laboratory_repair.modules.po.RepairClassify;

import java.util.List;

public interface RepairClassifyRepository  extends BaseRepository<RepairClassify, Long> {

    @Query(value="select name from lab_repair_classify e ORDER BY e.id ASC"
            ,nativeQuery=true)
    List<String> findInOrders();
}
